<template>
  <div>
    <div class="root">
      <form onsubmit="" action="" method="post">
        <fieldset>
          <div class="close-title">
            <p>注销账号</p>
          </div>
          <div class="input-box">
            <input type="password" name="password" placeholder="此账号密码" id="password" title="输入密码">
            <span class="error" id="passwordErr"></span>
            <br>
          </div>
          <div class="button">
            <input class="submit" type="submit" value="注销账号" id="submit" title="点击确认注销账号">
          </div>
          <div class="other item">
            <a id="forget" title="忘记密码">🤣忘记密码</a>
            <a href="index.html" id="returnIndex" title="返回主页">返回主页🌏</a>
          </div>
        </fieldset>
      </form>
    </div>
  </div>
</template>

<script>
export default {
  name: "SignoutPage"
}
</script>

<style scoped>
body {
  margin: 0;
}

form {
  padding-top: 5%;
  display: flex;
  justify-content: center;
  align-items: center;
}

fieldset {
  margin-top: 5%;
  padding: 40px;
  width: 400px;
  height: 320px;
  background-color: rgb(250, 250, 250);
  border: none;
  border-radius: 20px;
  box-shadow: 0 0 60px 1px #410000;
}

input[type="password"] {
  padding-left: 10px;
  margin-top: 4px;
  width: 96%;
  height: 50px;
  font-size: 14px;
  border-radius: 5px;
  border: 2px solid rgb(200, 200, 200);
  outline-color: #ffa6a6;
  letter-spacing: 3px;
}

input[type="submit"] {
  margin-top: 8px;
  font-size: 15px;
  background-color: #b45b5b;
  border: none;
  color: white;
  width: 100%;
  height: 54px;
  border-radius: 6px;
  letter-spacing: 3px;
}

input[type="submit"]:hover {
  background-color: #de5454;
}

span {
  margin-bottom: 100px;
}

a {
  color: #b26666;
  text-decoration: none;
  background-color: transparent;
  outline: none;
  cursor: pointer;
}

.root {
  background-image: url(../../static/img/1green.png);
  background-size: cover;
  background-repeat: no-repeat;
  width: 100vw;
  height: 54.94vw;
  position: relative;
}

.input-box {
  padding: 0;
}

.error {
  color: red;
  font-size: 14px;
  margin-left: 10px;
}

.close-title {
  color: #ee4848;
  text-align: center;
  font-size: 35px;
  letter-spacing: 2px;
}

.other {
  width: 100%;
  margin-top: 10px;
}

#forget {
  float: left;
}

#returnIndex {
  float: right;
}

#forget:hover, #returnIndex:hover {
  color: #7a0000;
}

</style>